@echo off

if "%BASEPATH%" == "" (
   if "%1"=="" (
      set BASEPATH=.
   ) else (
      set BASEPATH=%1
   )
)

javac -Xlint:unchecked -d %BASEPATH%\..\..\build -classpath %J2EE_HOME%\lib\j2ee.jar;%BASEPATH% %BASEPATH%\ru\arriah\common\bean\*.java %BASEPATH%\ru\arriah\common\ejb\help\*.java %BASEPATH%\ru\arriah\common\ejb\*.java %BASEPATH%\ru\arriah\common\web\exception\*.java %BASEPATH%\ru\arriah\common\web\action\*.java %BASEPATH%\ru\arriah\common\web\*.java
